package de.dfki.asr.genesis2.sms.util;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class Link {
	@XStreamAsAttribute
	private String type = null;
	
	@XStreamAsAttribute
	private String href = null;

	@XStreamAsAttribute
	private String rel = null;
	
	private String term = null;
	
	public Link (String href, String type) {
		this.href = href;
		this.type = type;
	}
	
	public Link (String href, String type, String term) {
		this(href,type);
		this.term = term;
	}
	
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getTerm() {
		return term;
	}
	public void setTerm(String term) {
		this.term = term;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}
}
